import Vue from 'vue'
import App from './App.vue'

//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//全局引入axios(处理跨域问题)
import axios from "axios";
Vue.prototype.$axios=axios;
Vue.prototype.$httpUrl='http://localhost:8090';

//引入路由插件
import VueRouter from "vue-router";
import router from "./router";

import './assets/global.css';
Vue.config.productionTip = false

// Vue.use(ElementUI);
Vue.use(VueRouter);
Vue.use(ElementUI,{size:'small'});
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
